#!/bin/bash 

STR="hello world"
len=${#STR}
echo $len  # 11
echo ${#STR} # 11
